#ifndef ELEMENTSTRUCT_H
#define ELEMENTSTRUCT_H

#include <QWidget>
#include <QCheckBox>
#include <QRadioButton>
#include "ui_elementstruct.h"
#include "pbo.h"

class ElementStruct : public QWidget
{
	Q_OBJECT

public:
	ElementStruct(QWidget *parent, PBO* pbo);
	~ElementStruct();

public Q_SLOTS:
	void changeElem();
	void close();
	void OK_clicked();


private:
	void run(bool pernam);

	PBO* pbo;
	QCheckBox** checkbox;
	QRadioButton** opType;
	Ui::ElementStruct ui;
};

#endif // ELEMENTSTRUCT_H
